Skip to content

Instantly share code, notes, and snippets.

# ============================================
# Ghostty Terminal - Complete Configuration
# ============================================
# File: ~/.config/ghostty/config
# Reload: Cmd+Shift+, (macOS)
# View options: ghostty +show-config --default --docs
# --- Typography ---
font-family = "Maple Mono NF CN"
font-size = 14

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@seraphicfae
seraphicfae / screwdiscord.md
Last active November 19, 2026 03:34
How to make Discord not display Quest tab on startup

Sooo, what's going on..?

Discord has decided to make the default page when you open the app to be the Quest home page, and we're not going to let them. Only a few users are experiencing this, so you may not be affected. (yet)

Linux and other *nix:

desktop-file-edit --set-key Exec --set-value "/usr/bin/discord discord://-/channels/@me" /usr/share/applications/discord.desktop

Flatpak:

@Alimammiya
Alimammiya / gate-cse-study-material.md
Last active November 19, 2026 03:31
Free GATE CSE Study Material for 2027 Aspirants: Download Subject wise Notes & PYQs

Free GATE CSE Study Material for 2027 Aspirants: Download Subject wise Notes & PYQs

Welcome to the comprehensive, community-driven resource repository for GATE Computer Science & Information Technology (CS & IT) 2027 aspirants. Securing a top rank in the Graduate Aptitude Test in Engineering (GATE) unlocks direct admissions to premier postgraduate programs (M.Tech/Ph.D.) at IITs, NITs, and IISc, alongside prestigious technical roles within leading PSUs.

This repository serves as a centralized documentation hub compiled from authoritative open-source archives, topper strategies, and verified learning pathways for your GATE CSE study material search.


Table of Contents

  1. Core Syllabus Structure & Weightage Analysis
@karpathy
karpathy / microgpt.py
Last active November 19, 2026 03:30
microgpt
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@LeeSeungHi
LeeSeungHi / gist:a8c254aff5b496dfb979020bec90c2fb
Last active November 19, 2026 03:24
Meta Quest Adb Command List
Meta Quest Adb Command List
Excluding the letters ‘adb shell’
GetProperty
getprop debug.oculus.[xxxxxx]
Set Screen & performance
setprop debug.oculus.refreshRate 60, 72, 90 (default), 120 Override the default refresh rate of the screen. 120Hz will only apply if enabled from Quest 2 settings (Experimental features).
setprop debug.oculus.textureWidth 1440 (default) Override the default texture width.
setprop debug.oculus.textureHeight 1584 (default) Override the default texture height. For optimal results, set the value to 1.1x texture width.
@michaellihs
michaellihs / tmux-cheat-sheet.md
Last active November 19, 2026 03:22
tmux Cheat Sheet
@Erotemic
Erotemic / bench_confusion_matrix.py
Created September 28, 2017 03:17
Scikit-Learn Confusion Matrix Benchmark
import numpy as np
from sklearn.metrics.classification import (unique_labels, _check_targets,
check_consistent_length,
coo_matrix)
def confusion_matrix_orig(y_true, y_pred, labels=None, sample_weight=None):
y_type, y_true, y_pred = _check_targets(y_true, y_pred)
if y_type not in ("binary", "multiclass"):
raise ValueError("%s is not supported" % y_type)
name explain-diff-html
description Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output.

Explain Diff

Please make me a rich, interactive explanation of the specified code change.

It should have these sections: